package com.hbnu.service;

import com.hbnu.pojo.Category;
import com.hbnu.pojo.Good;
import lombok.extern.slf4j.Slf4j;
import com.hbnu.pojo.Request;
import org.springframework.stereotype.Service;

import java.util.Calendar;
import java.util.List;


public interface GoodsService {
    public List<Category> getCategoryList();

    public List<Good> getGoodListByCid(Request rq);

    public List<Good> getGoodListByContent(Request rq);

    public List<Good> getSellingGoodListByCid(Request rq);

    public List<Good> getSellingGoodListByContent(Request rq);

    public List<Good> getGoodListByState(Request rq);

    public List<Good> getGoodListByContentStateCid(Request rq);

    public void addCategory(Request rq);

    public void addGood(Request rq);

    public void modifyGoodGname(Request rq);

    public void modifyGoodPrice(Request rq);

    public void modifyGoodDesc(Request rq);

    public void modifyGoodSrc(Request rq);

    public void modifyGoodNum(Request rq);

    public void modifyGoodState(Request rq);

    public void updateGoodInfo(Request rq);
}
